/**
 * Created by 小敏哥 on 2017/11/27.
 */
import { AREA_DATA} from "./actionsTypes";
import commonAction from '../../../../js/actions/commonAction';


export const areaData = data => ({type: AREA_DATA, data: data});//地区数据

//获取地区数据
export const getAreaData=(data,callBack)=>{
    return commonAction.simpleGet(data,'emsc-partner/c/a/all',areaData,callBack);
};

//提交身份证数据
export const submitFormData=(data,callBack)=>{
    return commonAction.simplePost(data,'emsc-partner/b/cn/confirmOrder',undefined,callBack);
};
